package com.transaction.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 高管概览
 * @TableName sys_senior
 */
@TableName(value ="sys_senior")
@Data
public class SysSenior implements Serializable {
    /**
     * 高管ID
     */
    @TableId(type = IdType.AUTO)
    private Integer seniorId;

    /**
     * 高管姓名
     */
    private String seniorName;

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date time;

    /**
     * 职务名称
     */
    @TableField(exist = false)
    private String jobName;

    /**
     * 占比
     */
    private BigDecimal proportion;

    /**
     * 持股
     */
    private BigDecimal positions;

    @TableField(exist = false)
    private  int pageNum;
    @TableField(exist = false)
    private  int pageSize;

    @TableField(exist = false)
    private String[] jobId;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}